package ie.dcu.spca.model;

import java.util.List;

public interface CommonOperation {
    public Bean selectById(int id);

    public int insertByBean(Bean bean);

    public boolean deleteById(int id);

    public boolean deleteByBean(Bean bean);

    public boolean updateByBean(Bean bean);

    public int selectMaxId();

    public boolean existById(int id);

    public boolean isDeletedById(int id);

    public List<Bean> selectAllBean();
}
